<ion-view id="order-status" view-title="订单状态"  hide-nav-bar="true">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">订单状态</h1>
  </ion-header-bar>
  <ion-content>
    <div class="addr-list">
      <div class="addr-record" ng-repeat="item in payWay" on-tap="choicePayWay(item)">
        <i ng-if="checkIndexPay != item.id" class="ion-ios-circle-outline"></i>
        <i ng-if="checkIndexPay == item.id" class="ion-ios-checkmark-outline checked"></i>
        <div class="info" style="padding: 4px 0;">
          <div class="name">{{item.text}}</div>
        </div>
      </div>
    </div>
    <div class="addr-list" style="margin-top: 10px;">
      <div class="addr-record" ng-if="vipAddress.address != ''" on-tap="choiceAddressVip()">
        <i ng-if="!checkIndexAddressVip" class="ion-ios-circle-outline"></i>
        <i ng-if="checkIndexAddressVip" class="ion-ios-checkmark-outline checked"></i>
        <div class="info">
          <div class="name">{{vipAddress.receiver}}</div>
          <div class="tel">{{vipAddress.mobile}}</div>
          <div>
            {{vipAddress.address}}
          </div>
        </div>
      </div>
      <div class="addr-record" ng-repeat="item in addrlist" on-tap="choiceAddress(item)">
        <i ng-if="checkIndexAddress != item.id" class="ion-ios-circle-outline"></i>
        <i ng-if="checkIndexAddress == item.id" class="ion-ios-checkmark-outline checked"></i>
        <div class="info">
          <div class="name">{{item.reciveuser}}</div>
          <div class="tel">{{item.phonenumber}}</div>
          <div>
            {{item.address}}
          </div>
        </div>
      </div>
    </div>
    <div class="add-address" on-tap="goAddressAdd()">
      <span style="float: left;">新增地址</span>
      <span style="float: right;font-size: 30px;" class="ion-ios-plus-outline"></span>
    </div>
    <div class="bottom-blank"></div>
  </ion-content>
  <div class="footer-button">
    <button class="button-clear" ng-click="goConfirm()">确定</button>
  </div>
</ion-view>